package GUI;

import java.awt.*;

import javax.swing.*;
import javax.swing.border.EmptyBorder;
import javax.swing.JTextField;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

public class VareDesign extends JPanel
{
	private JTextField textField;
	private JTextField textField_1;
	private JTextField textField_2;
	private JTextField textField_3;
	private JTextField textField_4;
	private JTextField textField_5;

	/**
	 * Create the frame.
	 */
	public VareDesign()
	{
		setBackground(Color.LIGHT_GRAY);
		setBorder(new EmptyBorder(5, 5, 5, 5));
		setLayout(null);

		JPanel panel = new JPanel();
		panel.setBounds(0, 0, 450, 300);
		add(panel);
		panel.setLayout(null);

		JLabel lblNewLabel = new JLabel("ID:");
		lblNewLabel.setFont(new Font("Calibri", Font.PLAIN, 15));
		lblNewLabel.setBounds(10, 50, 73, 14);
		panel.add(lblNewLabel);

		textField = new JTextField();
		textField.setBounds(100, 47, 86, 20);
		panel.add(textField);
		textField.setColumns(10);

		JLabel lblNavn = new JLabel("Navn:");
		lblNavn.setFont(new Font("Calibri", Font.PLAIN, 15));
		lblNavn.setBounds(210, 50, 73, 14);
		panel.add(lblNavn);

		JLabel lblBeskrivelse = new JLabel("Beskrivelse:");
		lblBeskrivelse.setFont(new Font("Calibri", Font.PLAIN, 15));
		lblBeskrivelse.setBounds(210, 87, 86, 14);
		panel.add(lblBeskrivelse);

		textField_1 = new JTextField();
		textField_1.setColumns(10);
		textField_1.setBounds(304, 44, 86, 20);
		panel.add(textField_1);

		textField_2 = new JTextField();
		textField_2.setColumns(10);
		textField_2.setBounds(304, 84, 86, 20);
		panel.add(textField_2);

		textField_3 = new JTextField();
		textField_3.setColumns(10);
		textField_3.setBounds(100, 84, 86, 20);
		panel.add(textField_3);

		JLabel lblPris = new JLabel("Pris:");
		lblPris.setFont(new Font("Calibri", Font.PLAIN, 15));
		lblPris.setBounds(10, 87, 86, 14);
		panel.add(lblPris);

		JLabel lblRabat = new JLabel("Rabat:");
		lblRabat.setFont(new Font("Calibri", Font.PLAIN, 15));
		lblRabat.setBounds(10, 124, 86, 14);
		panel.add(lblRabat);

		textField_4 = new JTextField();
		textField_4.setColumns(10);
		textField_4.setBounds(100, 115, 86, 20);
		panel.add(textField_4);

		JButton btnTilfjVare = new JButton("Tilf\u00F8j vare til ordre");
		btnTilfjVare.setBounds(100, 160, 128, 23);
		panel.add(btnTilfjVare);

		JButton btnClear = new JButton("Clear");
		btnClear.setBounds(304, 160, 89, 23);
		panel.add(btnClear);

		JButton btnTilfjTilDelordre = new JButton(
				"Tilf\u00F8j til delordre til ordre");
		btnTilfjTilDelordre.addActionListener(new ActionListener()
		{
			public void actionPerformed(ActionEvent arg0)
			{
			}
		});
		btnTilfjTilDelordre.setBounds(100, 205, 149, 23);
		panel.add(btnTilfjTilDelordre);

		textField_5 = new JTextField();
		textField_5.setBounds(100, 9, 290, 20);
		panel.add(textField_5);
		textField_5.setColumns(10);

		JButton btnNewButton = new JButton("S\u00F8g:");
		btnNewButton.setBounds(10, 8, 62, 23);
		panel.add(btnNewButton);

		JButton btnNewButton_1 = new JButton("Slet vare(r)");
		btnNewButton_1.setBounds(262, 205, 128, 23);
		panel.add(btnNewButton_1);
	}

	private static class __Tmp
	{
		private static void __tmp()
		{
			javax.swing.JPanel __wbp_panel = new javax.swing.JPanel();
		}
	}
}
